Added 'seed' for re-iteration

Added 'seed' for re-iteration