keep the instance number inside the database object