fix bug where all static methods were being listed (but not callable), not only public static ones
fix bug where all static methods were being listed (but not callable), not only public static ones

tailrecursion/wigwam