correct use of Orderly API.