add 'size' member for array