build and run example