It would be better to use a logging system rather than commented out cout statements.