sample code format