add array
delete the ptr set.