USE THIS ONE INSTEAD DetectBlock() again

I changed this one from what I had...the other one is stupid.