adding example of how to use a struct