adding VERSION_CHECK