completed and saved assignment 2