codeblock for terminal part