added get method
changed role to name and version