adding bibliography handling