implementing water physics