retiting unused vType variable in Swap()

plus some comments added