second assignmnent, using data from colin assignment 1