structing the unstructured code (fixing last commit)