water-based logic