working on reversing reversed mapping