added debug logging to the throw "OMG OMG OMG" statements