revise the alternate layout definition