added info print and random seed