testing with splice
playing with array index with random