refactored babies flood