Adding excerpt code