add map to go to the next char after the occurence