first half of assignment 1 is complete