main carcass of first layout