Working on autocomplete ranges