first version of homework 1.1