excerpt code