started implementing the view