added recipient functionality