adds derived variable support