don't run random on empty set, i think error with py3.4