Figured out how to do autocomplete properly