REFACTOR title to layout