Added outside/inside distinction in view