Randomized the id and grade