You can actually call both requests *req*, since the inner scope never accesses the outer scope's *req*. But it would be safer (and make the code easier to read) to give them more descriptive names, like *uninstallReq* and *reinstallReq*.