removed unsused var