non longer use rand() to init array