I need to get my modulus the right way round