make new math code compatible with unused variable warning/error