using the data that our API expects