added get to viewobject