finished org mode implementation