Added basic flood protection