reconstruct all the code.