replace mod (%) with bit and (&)
update version