This has now been recoded using a list of tuples.