Setting up a smart order