adding rand