HW3 of saas course part1