Changed name of ADDVAR to CREATEVAR and changed methods appropriately