add nested and inner classes