a little old utility library I wrote