maybe this help with logging?