farm mill and waterway base logic