before-filling-in-layout