correctly logs orders now