fixed #5, now on to #6