new example for map literals as class attributes