created a struct to contain all the interesting data