linked to trial api calls from examples