add water and input logic