automation added for one-vs-all*