layout and local bootstrap