refactor seed tc