capitalize function complete