added two commands in protocol