retired check_A_citation script