prepare for training and testing of ACF