added titleize to do names with spaces