assignment 1 and assignment 2