the selection sort was added