a method to uppercase first letters