create and autocomplete sources