added note view, code prettify