adding additional 'random' functions with count parameters