adding flood methods

still in progress