modify extractmethod Example.