added bibentry parser following hadley's advice