recieve is working aswell