implemented destination selection