fixing up part 2 of tute 2