To Delete: If interested: Here is a more generic way for up to 9 states

10_tx_cud

#1

Can be deleted, as the code will be changed at the end of the section.