declared global variables to work with logging functions