assignment 1 and half of 2