updated for open orders