Added API for sendingData()