fixes #8 by completing 7th homework