added the view changes too