use logger instead of system.out.println