renamed variables and functions for timezone check