Change to use value of structure.
Change to initialize value of structure in constructor.