Introducing a struct inside a class