set a view