homework 3 (fixed typo in title)