fixed syntax for format method
Merge pull request #10 from behrica/issue7

fixed syntax for format method