send & recieve work and correct stoping