added sentence_counter and sentence_reader