added .size() to array type