opening dbs and classification finished