Added modulo method