create terminology function