Add structure and code