sorting algorithms were added