made adjustments to the notes in the code so that it aligned with the problem. Doing some testing as before I kept getting errors.