mapping values

xvjeko:
k, thx, it wasn't my idea to make a compileable code in the first place...

However it's a good idea, nonetheless.