Make 'if' into a codeblock