add structure in code