adds code viewer