fixed docstring for getValue method.