homework 3 of the Edx Saas Course