Extract layout