header + footer implementation - everything works