updated documenting and added view