added def grandma extended program