add logging to order switching
reset