make sure there is data to send