adapted rmap