added length to Array type