add interface and class nesting, interesting part with access control