updated codes for views and seats