refactoring to use nested layouts