halfway through assignment 2