Added flood guard