refactor as #get_titles