added top instead of empty qualname
rebased on mario
processed
min