Use an array for types