(JGM) Week 3 sprint addendum:  minor syntax changes to my code.