structure for code