> you can find much better solutions this way

... because mappings map nicely to functions