added capitalize function