refactor to separate gen-ringfence model.