small updates for clarity and to set a random seed.