put statements into functions
add global variable global_Separator