initialized old database data to 0