Added sample code