new function to select recipient