added code section and patchwork view