add the functions file