debug lines deleted
Comments added
Code refactored