adding getter/setter for view obj