now with mathematics :D