add version number checks