command interface for remote control