added new function findallselect