refactor random seed into initialize function