Szymon's Code to compare with John's