Adding seed based random number sequence generator.