removed temporary debug logging