Prepare new layout