Able to feed random seed as argument