added helper method for title