added some debug plots