Done. Removed debugging prints and error reporting