'refactoring' layouts