mapping values

anyone got an idea?

use an extra variable to hold this?