replacing old math with new math