add a block of data to a frame