Reconstruct code