modify the random and parse