assignment 2 first part