added tostring array and random