corrected trans and recv