changed varstructs to lists