Added getValue() method