backing up my version
new version for hw6 part1