small check of srand