integrating into cmd3