explicit return type for map