all made (chiefly) via JAS's
prbat tool