preparation for nested classes - work in progress