wrap data in frame into array