refactor away post stuff to be used in drafts