Refactorizing e6 using class Grandma