Implemented inverse mapping