add function to convert vbarray cho ham findall