DB for item done, made a little more efficient to reduce api calls