first version of chapter_advanced_trace/inner_classes