changed code blocks to lists