class of general variable functions