Renamed local variables

Their names have been changed to more explicit ones.