added an API version feature