updated to InsertionSort statement