Add global
Only print `-` in an empty block
Update function unit test: global variable