homework3 v.1.6