working in the view