water logic