rename arrayutil to function