Replaced modulo operator