Simplify version function