do not get layout name from schema, pass it as argument