process_a_before