change code block to list