changing direction so it injects the util class in order to gain access to local variables like log level etc.