Enhanced the documentation
Removed debugging code