refactored to take water in liters always