return int from map_put()