rewrite scan with class
scan frame using book_scan