water generation functioning