adding code samples