Added sample code.