Daniel- Need to modify to a single function call, with no main function.