replaced System.out with slf4j logging