$Map in your style of code

Maybe something like this?