change System.out to logger