Dani's random bits of code