finished beginning ctr of database