add z combinator to fix modulo operand