Added functions file