Use a structure instead of a class