shape the random