changed value slot into getValue()