Magic mapping