add receive API