add structure class example