working on manipulating the data from the API