implemented a list to keep track of all available variables