now using integer for vocabulary_register