readded autocomplete functions