worked on auto complete