example code for new structure
Updated structure