reorg for varstack