nested class illustration