allow recursive inheritsFrom, add some more output