container refactor - header footer