added view and accessors