receive main