new formula: onetime

Uploaded the wrong file (I uploaded my last tweaked version, rather
than my final completed version). This version is the right one, and
irons out the last couple of syntax bugs.