implemented typeahead for service name and env