what did irrigation systems do