moving listener to Map constructor call