use of global variables in time data.