WIP encoder and dnd