added methods for command client