flatten structure
edits