end of homework 3