Little refactoring for the default sn and cn values