removed (unfinished) function poly_db_ids from branch master