save the codes for some use