use a struct instead of a tuple to ensure the values are used correctly