added getVersions and getVersions by name