As soon as you add a buy condition, the engine breaks