add function definitions for org-mode