Adding view shell code