Removed a modulo, replaced with substraction