simplified version checking