adding order to history tab works