add reduce frame method to prepare class
notes
Merge branch 'release/0.2.3'