re-introduced old excerpt logic