write out block matching data