got rid of the System.out sending IOException errors to the console