Now able to input random seed