added set.seed()
added set.seed()