cw: removed unused variable
uvar: tools for working with variants