added max_term need to print associated name