finish rand_pick.py