Adding Step 3 and random seed