code on wrong lines; fixed