changing header of out surf_map::match