I have a program that wants to read data from an API and compare that data with data stored in the database. if some conditions exist, then remove data from the database and