updating for some more logging