homework for https://class.coursera.org/startup-001/assignment/view?assignment_id=5