variable scope issues...