Ch10: remove unsed variables