pretty printing, beginnings of draft logic