Adding sample code.