I forgot I had written it myself! Thank goodness for search.