clarify sample code