adding basic untested flood control