Trying using a struct to store the properties instead