change ann to dnn