wrote tests 9-16