adding view and some client side