a dam can stop moving water