map extend works