working on sending the data back