added method modulo() + test