first version of homework 7, wrong values yet