generate threats only it in steps