adding new code samples and updating content after review.