learning: rand numbers added