Nested classes - creating an instances