add example of using formatting preferences