Rename str to RandString