text var work