helps if you call the api properly