add rand to r & random for member & group random commands