add basic mathematical functions for analytics