API and timer finished