support variables with multiple elements