more generic version check