changed the logging variable name