temp work
we dont't need no reduce
now global search map does function