the view is ok,not functioning