Questionable implementation of viewValue