adding rand article functionality