some progress on assignment 3