Added a struct to store data