removed debug printouts throwing exceptions