added handling of orderDepth