removed a variable that was not needed