supplementary record methods, move header/footer as constants