add commands codec