Added array length feature