some additional logging for debugging