create common layout