adding version number checks