Added getValue with default