Random numbers and entities