random_variable renamed as names_random so links with other function