changed obj properties and quicksort