Adapted version check