removed redunant from var