added clear to the view