assignment 3 for adams 7096140