moved System.out.prontln to log.debug