trying to get rid of viewProperties