moved logging to a logger - not direct to System.out