code changed to add v2.0 as default value