prefer top level example to nested ones, when present