add PBM diagram output and two sample gifs