Added better struct example (using typedef)