reconstruct some code