predeal of the cnn---do not finished