changed System.out.println to QueueProvider.offer