runnable from cmd, demo added