vim and wodim functions