add function to obtain a specific term