removed debug prints in output