main command interface finished