System.out.printlns were substituted by Logger