uncommentted the code for uploading data