Got modulus operator working