adding the ecorediag of the slice