added setter method for view container