add tp command mode