assigning view name and display id.