Formatter sample code for reference