assignment 6 for adams 1596190