added autocomplete functionality to location and call codes