First idea for the mapping table
Debug output for the mapping logic
Removed debugging