rep of homework 1