modif of the api