finished header footer db conversion