homework3 v.1.7