Added excerpt functionality