rename cnn function