added an extra debug logging statement