adding capitalize function to standard functions