Simple refactoring for CAS initializer