continuing work on assignment 3