Untested maintain farm logic added.