functions

(via Kottke)