renamed getValue method