upload the codes