doc: fixed example, made more minimal