added basic maplistener