variable listing is working now after the refactor