change range to integer
change rand
use 1.9.3
change header
del nested