add keyglob test
add plotting to analysis