changes to map. added listener.