added example of a version check