cs169x saas homework 2