basic autocomplete functioning implemented