analyzing tail of codeblock