simplified handling of term and type info