implemented continuous receive