little refactoring of random generated data