Renaming local variables wouldn't be a problem.. as i said this code is almost copy/paste from msdn :)