added a vocabulary mode