added global variables for API versions