I have the data sending function working