added notes on whole process_target_language function