got rid of redundant variable