working on db and API,