Added ucfirst function to functions