def random() added