reordered fns so that the newly added PR contributions' defuns are
declared in the order that matches the stylistic defun declaration
ordering of the rest of the file (clojure-like, public fn at the bottom)