set up views structure