add version assert