this is with quicksort working