we dont want to serialize the view object