replaced arr functions by Arr static methods