prettify and add navigation