removed redundant variable definition