correct receiver while loop