Sure, but still better I think if getValue() was called more than once it would return the same value.