Added random() block