capitalize type