submission for assignment 2