add version assertion