better header math