with randomly generated generation