added modulo example
added parentheses for calculations