updated order of splitting seed in the code