final adjustment to code for project #1