demo prototype with stop command