working on problem 2 about to delete old methods
finally working
moved some stuff