problem half solved for automation