removed one redundant variables