Added helper code to exercise 1