add formats example
Merge pull request #1 from igas/format-examples

add formats example