added command pattern and dummy command