Checking in some query crap