complex variable management