add randint import
another varname fix