commented out cout statements, created trace back sol