work on assignment 3