lab3. different randoms (function quality imitation)