added a title_helper function