working on storing array of block data