more work towards storing frame and source data in same array