Added ability to choose level of autocomplete