more scratch code.  going to gut it to work a bit on max7221