before doing the footer and ui