second part of edx saas homework