add small run example in main.d