removed redundant variable.