tried to make autocomplete work
making some methods for displays