Implementation of final Mapping Scheme