added a first try at comparing API versions