made a struct. thinking about how to make functions to deal with decoding the data