add localscope