Halfway through assignment 2