added seed code