Using struct instead of simple class