titles refactoring