Added in logging for debugging notes