Added two new functions selectResultItems and concatResults.