selected vars controller