add example wrapper and fix formatting