map object working