attacks and such (code changes from long ago)