added docs for math/mod