add example usage with yaml