added arraySearch to tapasClient