getVersion can be used to get the versions of other packages and identifies the package name automaticaly