cleaning up bib (checkpoint)
still not quite enough