modify frame example and chapter