added brackets around mod operation