added .functions file