Added documentation to GetValues function