Added sample code snapshot