some scope issues