working on sendData