check the code for send...i tried something but it's getting stuck