Reconstruct parts of the code

Reconstruct parts of the code