Explanation:
 
the variable ~vt is used as a loop counter later on, to make the next routine repeat twice.