map_extended old version