Removed System.err.println statements