starts using api