adding objects to map array