initial work on publishing body encoding