a simple code viewer