Using properly the api