added helperFunctions script to start better organizing our code