nest code block in list