updated external vocabulary function, aligned with newly added definitions