reconstrute the code