basicvar, may require some modifications