working on what is returned from api