Before filling-in-layout