layout now can be used as template