implemented remu, tests pass