reference extraction improved