finished the view and got some basic functionality done