work on frequency and sentences