made the output more visually pleasing and added titleize to string class