--junky code to test some ideas