Updated lrem so it always returns a value.