Changed the api call over to use the transformer