logging to try to help with debugging