added checkEdition() func