refactored TagSeed
refactored for seed code