oops
allow arbitrary block format and count