title helper method added for pretty titles