added chat command interface