sample code formatting