add get subsummary code