uncomment debugged out figure gen