Added missing functions file