removed some System.out.println's used for debugging