changed capitalize to titleize