instead of doing System.out, changed to use Logger.info