worked on assigment 3