Replaced System.out with System.err.