added reverse map