code cleanup: remove old bibliography code
code cleanup: giev function better name