intecrating into cmd3