encode document
add navigation document builder