db api, sources from txt