First version of ACO code.