initial check in of functions file