aligned the version with that in Jenkins
added another method