added modulo to calculator