added skip_first and vocab_size to constructor