minor cleanup. Removed a redundant variable