review example code's header to adjust to the new structure.