adding titleize method to model