removing unused variable, changing variable name for clarity