more debugging of local advault-view
renamed adview function