finish the searchAln