auto_close by default
No need for CLASSES[key]['class']
Use _ before recode and count in CLASSES