unify initializer for gcm