support pointer of array